package com.lanchetech.merchant.service;


import com.lanchetech.bean.request.MerchantRegisterReq;
import com.lanchetech.bean.request.UpdatePasswordByPhoneReq;
import com.lanchetech.bean.response.BaseResp;
import com.lanchetech.merchant.config.JwtAuthenticationRequest;
import com.lanchetech.bean.response.ResultData;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpSession;

public interface MerchantAuthService {


    ResultData<String> login(JwtAuthenticationRequest authenticationRequest, HttpSession session);

    ResultData<String> getToken(JwtAuthenticationRequest authenticationRequest, HttpSession session);

    BaseResp register(MerchantRegisterReq req);

    BaseResp updatePasswordByPhone(UpdatePasswordByPhoneReq req);
}